ADP\BaseVersion\Includes\Core\RuleProcessor\CartTotals A

Total Complexity 73
Dependencies 8
Dependents 4
Total lines 393
Lines of code 258
Logical lines of code 169
Comment lines 54
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
calculateItemsSubtotalsWithoutImmutable()
B
37 23 70
calculateItemsSubtotals()
B
38 20 63
calculateTotalDiscounts()
A
41 8 55
sortCouponsCallback()
S
61 7 12
getCouponsFromCart()
S
54 5 22
getItemTaxRates()
S
60 3 14
roundLineTax()
S
69 3 6
__construct()
S
70 1 7
roundAtSubtotal()
S
79 1 3
getSubtotal()
S
80 1 3
getSubtotalWithoutImmutable()
S
80 1 3